<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>표준원산지관리시스템:::FTA 협정관리:::일반기준:::누적기준</title>
<link rel="stylesheet" type="text/css" href="<c:url value='/css/common.css'/>" media="all" />
<script type="text/JavaScript">
	<!--
	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}
	
	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
	
	function MM_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}
	
	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}
	//-->
	function fn_checkCum(){
		var form = document.forms['formOms04'];
	
		if(confirm("저장하시겠습니까?")){
			form.action="<c:url value='/codeMng/cummng_apply.do'/>";
			form.submit();
		}
	}

	function fn_gotoTab1() {
		var form = document.forms['formOms04'];
		form.action = "<c:url value='/codeMng/ftamng_selectfta.do'/>";
		form.submit();
	}

	function fn_gotoTab3() {
		var form = document.forms['formOms04'];
		form.action = "<c:url value='/codeMng/viewmng_selectview.do'/>";
		form.submit();
	}

	function fn_gotoSubTab1() {
		var form = document.forms['formOms04'];
		form.action = "<c:url value='/codeMng/offmng_selectoff.do'/>";
		form.submit();
	}

	function fn_gotoSubTab3() {
		var form = document.forms['formOms04'];
		form.action = "<c:url value='/codeMng/demin_selectdemin.do'/>";
		form.submit();
	}
</script>
</head>
<body onload="MM_preloadImages('<%=request.getContextPath()%>/images/tab_on_01.jpg','<%=request.getContextPath()%>/images/tab_on_02.jpg','<%=request.getContextPath()%>/images/tab_on_03.jpg')">

<!-- 바로가기 메뉴 -->
<div class="accessibility">
	<ul>
		<li><a href="#mainNav">주메뉴바로가기</a></li>
		<li><a href="#subMenu">서브메뉴바로가기</a></li>
		<li><a href="sub_contents">콘텐츠바로가기</a></li>		
	</ul>
</div>

<!-- top 영역 시작 -->
<div id="top">
	<!-- 로그인 사용자정보 시작 -->
	<%@include file="/WEB-INF/jsp/oms/include/userinfo.jsp" %>
	<!-- 로그인 사용자정보 끝 -->
</div>
<!-- top 영역 끝 -->

<!-- 왼쪽영역 시작 -->
<div id="left">
	<!-- 왼쪽메뉴 시작 -->
	<%@include file="/WEB-INF/jsp/oms/include/leftmenu.jsp" %>
	<!-- 왼쪽메뉴 끝 -->
	<!-- 대쉬보드 시작-->
	<%@include file="/WEB-INF/jsp/oms/include/dashboard.jsp" %>	
	<!-- 대쉬보드 끝-->

</div>
<!-- 왼쪽영역 끝 -->


<!-- 콘텐츠 영역 시작 -->
<div id="container">
	<h3 class="tit"><span><strong>일반기준 : 누적기준 정보</strong></span></h3>
	<!-- 콘텐츠 감싸기 시작 -->
	<div id="contents">
		<div class="governing">
		원산지 판정을 위한 협정을 관리합니다.<br />
		협정을 선택하여 적용, 미적용을 적용함으로써 원산지 판정적용 여부를 결정할 수 있습니다.
		</div>	
		<br />
		<br />

	<!-- 탭 시작 -->
	<div class="tab">
		<ul>
			<li><a href="#" onclick="fn_gotoTab1()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image9','','<%=request.getContextPath()%>/images/tab_on_01.jpg',1)"><img src="<%=request.getContextPath()%>/images/tab_off_01.jpg" alt="협정" name="Image9" width="104" height="29" border="0" id="Image9" /></a></li>
			<li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','<%=request.getContextPath()%>/images/tab_on_02.jpg',1)"><img src="<%=request.getContextPath()%>/images/tab_on_02.jpg" alt="일반기준" name="Image10" width="104" height="29" border="0" id="Image10" /></a></li>
			<li><a href="#" onclick="fn_gotoTab3()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','<%=request.getContextPath()%>/images/tab_on_03.jpg',1)"><img src="<%=request.getContextPath()%>/images/tab_off_03.jpg" alt="품목별기준" name="Image11" width="104" height="29" border="0" id="Image11" /></a></li>	
		</ul>		
	</div>
	<!-- 탭 끝 -->
	
	<!-- 데이터 테이블 시작 -->
	<div id="data">
	<table cellpadding="0" cellspacing="0" class="topline">
		<tr>
			<td>
				<br />
				<!-- 작은 탭 시작 -->
				<div class="tab2dep">
					<ul>
						<li><a href="#" onclick="fn_gotoSubTab1()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','<%=request.getContextPath()%>/images/tab_2dep_on_01.jpg',1)"><img src="<%=request.getContextPath()%>/images/tab_2dep_off_01.jpg" alt="역외가공기준" name="Image12" width="104" height="21" border="0" id="Image12" /></a></li>
						<li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','<%=request.getContextPath()%>/images/tab_2dep_on_02.jpg',1)"><img src="<%=request.getContextPath()%>/images/tab_2dep_on_02.jpg" alt="누적기준" name="Image13" width="104" height="21" border="0" id="Image13" /></a></li>
						<li><a href="#" onclick="fn_gotoSubTab3()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','<%=request.getContextPath()%>/images/tab_2dep_on_03.jpg',1)"><img src="<%=request.getContextPath()%>/images/tab_2dep_off_03.jpg" alt="미소기준" name="Image14" width="104" height="21" border="0" id="Image14" /></a></li>	
						<li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image15','','<%=request.getContextPath()%>/images/tab_2dep_on_04.jpg',1)"><img src="<%=request.getContextPath()%>/images/tab_2dep_off_04.jpg" alt="중간재규정" name="Image15" width="104" height="21" border="0" id="Image15" /></a></li>	
					</ul>		
				</div>
				<!-- 작은 탭 끝 -->
				
				<!-- 데이터 테이블 시작 -->
				<div id="data">
					<form name="formOms04" method="post">
					<input type="hidden" name="id" value="${ftaSearchVO.id}"/>
					<table cellpadding="0" cellspacing="0">
						<colgroup>
							<col width="100%" />
						</colgroup>
						<tr>
							<td class="tdGrayL"><input name="applyAccumulation" type="checkbox" 
									<c:if test="${apply.applyAccumulation}">checked="checked"</c:if>/>누적기준 적용여부</td>
						</tr>
					</table>
					</form>
				</div>
				<!-- 데이터 테이블 끝 -->
			</td>
		</tr>
	</table>
	
	</div>
	<!-- 왼쪽정렬 버튼 시작 -->
	<div class="btnL">
		<ul>
			<li><a href="#" onclick="fn_checkCum()"><img src="<%=request.getContextPath()%>/images/btn/btn_applicable.jpg" alt="적용" /></a></li>
		</ul>
	</div>
	<!-- 왼쪽정렬 버튼 끝 -->

	</div>
	<!-- 콘텐츠 감싸기 시작 -->
</div>
<!-- 콘텐츠 영역 끝 -->
</body>
</html>
